﻿using YawetagDemo.Framework.Server.Data;
using YawetagDemo.Framework.Server.Services;

namespace YawetagDemo.Framework.Client.Services
{
    internal class WCFMusicServiceCallbacks : IWCFMusicServiceCallbacks
    {
        public WCFMusicServiceCallbacks(WCFMusicServiceProxy serviceProxy)
        {
            ServiceProxy = serviceProxy;
        }

        public string GetArtistForLogging(WCFArtist artist)
        {
            return ServiceProxy.GetArtistForLoggingFunc(artist);
        }

        private WCFMusicServiceProxy ServiceProxy { get; set; }
    }
}
